<?php
	$v_params = $this->getParams();
	$lSolic = $v_params["sl"];
?>
<form name="formCliente" id="formCliente" method="post" action="./configuracoes/inserirUsuario">
    <table class="formLayout lista">
        <tr>
            <td><label for="nome_user">Nome:<span class="required-icon">*</span>:</label></td>
            <td><input name="nome_user" type="text" required id="nome_user" /></td>
        </tr>
        <tr>
            <td><label for="login_user">Login:<span class="required-icon">*</span>:</label></td>
            <td><input name="login_user" type="text" required id="login_user" /></td>
        </tr>
        <tr>
            <td><label for="id_tipo_user">Tipo de usuário<span class="required-icon">*</span>:</label></td>
            <td>
            	<select style="width:195px;" name="id_tipo_user" required id="id_tipo_user">
            	  <option value="">Selecione...</option>
                  <?php foreach($lSolic as $slct){ ?> 
                  <option value="<?php echo $slct["id_tipo_user"] ?>"><?php echo $slct["nome_tipo_user"] ?></option>
                  <?php } ?>
                </select>
          </td>
        </tr>
        <tr>
            <td><label for="senha_user">Senha:<span class="required-icon">*</span>:</label></td>
            <td><input name="senha_user" type="password" required id="senha_user" /></td>
        </tr>
        <tr>
            <td><label for="conf_pass">Confirmação de senha:<span class="required-icon">*</span>:</label></td>
            <td><input name="conf_pass" type="password" required id="conf_pass" /></td>
        </tr>
        <tr>
            <td colspan="2">Os campos marcados com <span class="required-icon">*</span> 
            são de preenchimento obrigatório</td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" name="enviar" value="Cadastrar usuário" /></td>
        </tr>
    </table>
</form>